<template>
  <div class="home">
    <el-container>
      <el-header>
        <home-header></home-header>
      </el-header>
      <el-container>
        <el-aside width="200px">
          <home-aside-menu></home-aside-menu>
        </el-aside>
        <el-main>
          <router-view />
        </el-main>
        <play-music />
      </el-container>
    </el-container>
  </div>
</template>

<script>
import HomeHeader from '@/views/home/HomeHeader'
import HomeAsideMenu from '@/views/home/HomeAsideMenu'
import PlayMusic from '@/views/playmusic/PlayMusic.vue'

export default {
  name: 'MyHome',
  components: {
    HomeHeader,
    HomeAsideMenu,
    PlayMusic
  }
}
</script>

<style lang="less" scoped>
.home {
  height: 100%;
  .el-container {
    height: calc(100% - 100px);
  }
  .el-aside {
    border-right: 2px solid #e6e6e6;
  }
  .el-main {
    padding: 0 100px;
    box-sizing: border-box;
  }
}
</style>
